Skip to content

tests: fix flaky simulate test#5738

Merged
algorandskiy merged 1 commit intoalgorand:masterfrom
algorandskiy:pavel/rest-api-sim-test
Sep 13, 2023
Merged

tests: fix flaky simulate test#5738
algorandskiy merged 1 commit intoalgorand:masterfrom
algorandskiy:pavel/rest-api-sim-test

Conversation

@algorandskiy
Copy link
Copy Markdown
Contributor

Summary

TestSimulateStartRound flaked because it expects txn simulated execution failed at round 1 after catching up to round 7 but time to time ledger is delayed flushing most recent deltas and it has all the state at round 1 needed for simulated execution so the simulate succeeds.
Use Eventually to retry few times and give the ledger change to flush.

Test Plan

This is a test fix.

Copy link
Copy Markdown
Contributor

@jasonpaulos jasonpaulos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix looks good

@codecov
Copy link
Copy Markdown

codecov Bot commented Sep 13, 2023

Codecov Report

Merging #5738 (ec27460) into master (f965427) will decrease coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #5738      +/-   ##
==========================================
- Coverage   55.59%   55.55%   -0.04%     
==========================================
  Files         476      476              
  Lines       66853    66853              
==========================================
- Hits        37165    37143      -22     
- Misses      27169    27189      +20     
- Partials     2519     2521       +2     

see 10 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@algorandskiy algorandskiy merged commit beec227 into algorand:master Sep 13, 2023
@algorandskiy algorandskiy deleted the pavel/rest-api-sim-test branch March 16, 2026 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants